package com.jieshuibao.model.db;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public UserExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andPhoneNumberIsNull() {
            addCriterion("user.phoneNumber is null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberIsNotNull() {
            addCriterion("user.phoneNumber is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberEqualTo(String value) {
            addCriterion("user.phoneNumber =", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberNotEqualTo(String value) {
            addCriterion("user.phoneNumber <>", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberGreaterThan(String value) {
            addCriterion("user.phoneNumber >", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberGreaterThanOrEqualTo(String value) {
            addCriterion("user.phoneNumber >=", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberLessThan(String value) {
            addCriterion("user.phoneNumber <", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberLessThanOrEqualTo(String value) {
            addCriterion("user.phoneNumber <=", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberLike(String value) {
            addCriterion("user.phoneNumber like", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberNotLike(String value) {
            addCriterion("user.phoneNumber not like", value, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberIn(List<String> values) {
            addCriterion("user.phoneNumber in", values, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberNotIn(List<String> values) {
            addCriterion("user.phoneNumber not in", values, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberBetween(String value1, String value2) {
            addCriterion("user.phoneNumber between", value1, value2, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPhoneNumberNotBetween(String value1, String value2) {
            addCriterion("user.phoneNumber not between", value1, value2, "phoneNumber");
            return (Criteria) this;
        }

        public Criteria andPwdIsNull() {
            addCriterion("user.pwd is null");
            return (Criteria) this;
        }

        public Criteria andPwdIsNotNull() {
            addCriterion("user.pwd is not null");
            return (Criteria) this;
        }

        public Criteria andPwdEqualTo(String value) {
            addCriterion("user.pwd =", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotEqualTo(String value) {
            addCriterion("user.pwd <>", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdGreaterThan(String value) {
            addCriterion("user.pwd >", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdGreaterThanOrEqualTo(String value) {
            addCriterion("user.pwd >=", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdLessThan(String value) {
            addCriterion("user.pwd <", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdLessThanOrEqualTo(String value) {
            addCriterion("user.pwd <=", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdLike(String value) {
            addCriterion("user.pwd like", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotLike(String value) {
            addCriterion("user.pwd not like", value, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdIn(List<String> values) {
            addCriterion("user.pwd in", values, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotIn(List<String> values) {
            addCriterion("user.pwd not in", values, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdBetween(String value1, String value2) {
            addCriterion("user.pwd between", value1, value2, "pwd");
            return (Criteria) this;
        }

        public Criteria andPwdNotBetween(String value1, String value2) {
            addCriterion("user.pwd not between", value1, value2, "pwd");
            return (Criteria) this;
        }

        public Criteria andBalanceIsNull() {
            addCriterion("user.balance is null");
            return (Criteria) this;
        }

        public Criteria andBalanceIsNotNull() {
            addCriterion("user.balance is not null");
            return (Criteria) this;
        }

        public Criteria andBalanceEqualTo(Double value) {
            addCriterion("user.balance =", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceNotEqualTo(Double value) {
            addCriterion("user.balance <>", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceGreaterThan(Double value) {
            addCriterion("user.balance >", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceGreaterThanOrEqualTo(Double value) {
            addCriterion("user.balance >=", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceLessThan(Double value) {
            addCriterion("user.balance <", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceLessThanOrEqualTo(Double value) {
            addCriterion("user.balance <=", value, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceIn(List<Double> values) {
            addCriterion("user.balance in", values, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceNotIn(List<Double> values) {
            addCriterion("user.balance not in", values, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceBetween(Double value1, Double value2) {
            addCriterion("user.balance between", value1, value2, "balance");
            return (Criteria) this;
        }

        public Criteria andBalanceNotBetween(Double value1, Double value2) {
            addCriterion("user.balance not between", value1, value2, "balance");
            return (Criteria) this;
        }

        public Criteria andRoleIsNull() {
            addCriterion("user.role is null");
            return (Criteria) this;
        }

        public Criteria andRoleIsNotNull() {
            addCriterion("user.role is not null");
            return (Criteria) this;
        }

        public Criteria andRoleEqualTo(Integer value) {
            addCriterion("user.role =", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotEqualTo(Integer value) {
            addCriterion("user.role <>", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleGreaterThan(Integer value) {
            addCriterion("user.role >", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleGreaterThanOrEqualTo(Integer value) {
            addCriterion("user.role >=", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleLessThan(Integer value) {
            addCriterion("user.role <", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleLessThanOrEqualTo(Integer value) {
            addCriterion("user.role <=", value, "role");
            return (Criteria) this;
        }

        public Criteria andRoleIn(List<Integer> values) {
            addCriterion("user.role in", values, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotIn(List<Integer> values) {
            addCriterion("user.role not in", values, "role");
            return (Criteria) this;
        }

        public Criteria andRoleBetween(Integer value1, Integer value2) {
            addCriterion("user.role between", value1, value2, "role");
            return (Criteria) this;
        }

        public Criteria andRoleNotBetween(Integer value1, Integer value2) {
            addCriterion("user.role not between", value1, value2, "role");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyIsNull() {
            addCriterion("user.counselorDuty is null");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyIsNotNull() {
            addCriterion("user.counselorDuty is not null");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyEqualTo(String value) {
            addCriterion("user.counselorDuty =", value, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyNotEqualTo(String value) {
            addCriterion("user.counselorDuty <>", value, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyGreaterThan(String value) {
            addCriterion("user.counselorDuty >", value, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyGreaterThanOrEqualTo(String value) {
            addCriterion("user.counselorDuty >=", value, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyLessThan(String value) {
            addCriterion("user.counselorDuty <", value, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyLessThanOrEqualTo(String value) {
            addCriterion("user.counselorDuty <=", value, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyLike(String value) {
            addCriterion("user.counselorDuty like", value, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyNotLike(String value) {
            addCriterion("user.counselorDuty not like", value, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyIn(List<String> values) {
            addCriterion("user.counselorDuty in", values, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyNotIn(List<String> values) {
            addCriterion("user.counselorDuty not in", values, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyBetween(String value1, String value2) {
            addCriterion("user.counselorDuty between", value1, value2, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCounselorDutyNotBetween(String value1, String value2) {
            addCriterion("user.counselorDuty not between", value1, value2, "counselorDuty");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleIsNull() {
            addCriterion("user.companyRole is null");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleIsNotNull() {
            addCriterion("user.companyRole is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleEqualTo(Integer value) {
            addCriterion("user.companyRole =", value, "companyRole");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleNotEqualTo(Integer value) {
            addCriterion("user.companyRole <>", value, "companyRole");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleGreaterThan(Integer value) {
            addCriterion("user.companyRole >", value, "companyRole");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleGreaterThanOrEqualTo(Integer value) {
            addCriterion("user.companyRole >=", value, "companyRole");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleLessThan(Integer value) {
            addCriterion("user.companyRole <", value, "companyRole");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleLessThanOrEqualTo(Integer value) {
            addCriterion("user.companyRole <=", value, "companyRole");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleIn(List<Integer> values) {
            addCriterion("user.companyRole in", values, "companyRole");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleNotIn(List<Integer> values) {
            addCriterion("user.companyRole not in", values, "companyRole");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleBetween(Integer value1, Integer value2) {
            addCriterion("user.companyRole between", value1, value2, "companyRole");
            return (Criteria) this;
        }

        public Criteria andCompanyRoleNotBetween(Integer value1, Integer value2) {
            addCriterion("user.companyRole not between", value1, value2, "companyRole");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user.userName is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user.userName is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user.userName =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user.userName <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user.userName >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user.userName >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user.userName <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user.userName <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user.userName like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user.userName not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user.userName in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user.userName not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user.userName between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user.userName not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNull() {
            addCriterion("user.realName is null");
            return (Criteria) this;
        }

        public Criteria andRealNameIsNotNull() {
            addCriterion("user.realName is not null");
            return (Criteria) this;
        }

        public Criteria andRealNameEqualTo(String value) {
            addCriterion("user.realName =", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotEqualTo(String value) {
            addCriterion("user.realName <>", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThan(String value) {
            addCriterion("user.realName >", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("user.realName >=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThan(String value) {
            addCriterion("user.realName <", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLessThanOrEqualTo(String value) {
            addCriterion("user.realName <=", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameLike(String value) {
            addCriterion("user.realName like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotLike(String value) {
            addCriterion("user.realName not like", value, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameIn(List<String> values) {
            addCriterion("user.realName in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotIn(List<String> values) {
            addCriterion("user.realName not in", values, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameBetween(String value1, String value2) {
            addCriterion("user.realName between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andRealNameNotBetween(String value1, String value2) {
            addCriterion("user.realName not between", value1, value2, "realName");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("user.sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("user.sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(Integer value) {
            addCriterion("user.sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(Integer value) {
            addCriterion("user.sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(Integer value) {
            addCriterion("user.sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(Integer value) {
            addCriterion("user.sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(Integer value) {
            addCriterion("user.sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(Integer value) {
            addCriterion("user.sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<Integer> values) {
            addCriterion("user.sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<Integer> values) {
            addCriterion("user.sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(Integer value1, Integer value2) {
            addCriterion("user.sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(Integer value1, Integer value2) {
            addCriterion("user.sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateIsNull() {
            addCriterion("user.birthdayDate is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateIsNotNull() {
            addCriterion("user.birthdayDate is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateEqualTo(Date value) {
            addCriterionForJDBCDate("user.birthdayDate =", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("user.birthdayDate <>", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateGreaterThan(Date value) {
            addCriterionForJDBCDate("user.birthdayDate >", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("user.birthdayDate >=", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateLessThan(Date value) {
            addCriterionForJDBCDate("user.birthdayDate <", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("user.birthdayDate <=", value, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateIn(List<Date> values) {
            addCriterionForJDBCDate("user.birthdayDate in", values, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("user.birthdayDate not in", values, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("user.birthdayDate between", value1, value2, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andBirthdayDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("user.birthdayDate not between", value1, value2, "birthdayDate");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("user.address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("user.address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("user.address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("user.address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("user.address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("user.address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("user.address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("user.address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("user.address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("user.address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("user.address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("user.address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("user.address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("user.address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("user.province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("user.province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("user.province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("user.province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("user.province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("user.province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("user.province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("user.province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("user.province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("user.province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("user.province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("user.province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("user.province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("user.province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNull() {
            addCriterion("user.companyName is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNotNull() {
            addCriterion("user.companyName is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameEqualTo(String value) {
            addCriterion("user.companyName =", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotEqualTo(String value) {
            addCriterion("user.companyName <>", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThan(String value) {
            addCriterion("user.companyName >", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("user.companyName >=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThan(String value) {
            addCriterion("user.companyName <", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("user.companyName <=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLike(String value) {
            addCriterion("user.companyName like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotLike(String value) {
            addCriterion("user.companyName not like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIn(List<String> values) {
            addCriterion("user.companyName in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotIn(List<String> values) {
            addCriterion("user.companyName not in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameBetween(String value1, String value2) {
            addCriterion("user.companyName between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotBetween(String value1, String value2) {
            addCriterion("user.companyName not between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidIsNull() {
            addCriterion("user.counselorUuid is null");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidIsNotNull() {
            addCriterion("user.counselorUuid is not null");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidEqualTo(String value) {
            addCriterion("user.counselorUuid =", value, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidNotEqualTo(String value) {
            addCriterion("user.counselorUuid <>", value, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidGreaterThan(String value) {
            addCriterion("user.counselorUuid >", value, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidGreaterThanOrEqualTo(String value) {
            addCriterion("user.counselorUuid >=", value, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidLessThan(String value) {
            addCriterion("user.counselorUuid <", value, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidLessThanOrEqualTo(String value) {
            addCriterion("user.counselorUuid <=", value, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidLike(String value) {
            addCriterion("user.counselorUuid like", value, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidNotLike(String value) {
            addCriterion("user.counselorUuid not like", value, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidIn(List<String> values) {
            addCriterion("user.counselorUuid in", values, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidNotIn(List<String> values) {
            addCriterion("user.counselorUuid not in", values, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidBetween(String value1, String value2) {
            addCriterion("user.counselorUuid between", value1, value2, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCounselorUuidNotBetween(String value1, String value2) {
            addCriterion("user.counselorUuid not between", value1, value2, "counselorUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidIsNull() {
            addCriterion("user.companyUuid is null");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidIsNotNull() {
            addCriterion("user.companyUuid is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidEqualTo(String value) {
            addCriterion("user.companyUuid =", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidNotEqualTo(String value) {
            addCriterion("user.companyUuid <>", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidGreaterThan(String value) {
            addCriterion("user.companyUuid >", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidGreaterThanOrEqualTo(String value) {
            addCriterion("user.companyUuid >=", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidLessThan(String value) {
            addCriterion("user.companyUuid <", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidLessThanOrEqualTo(String value) {
            addCriterion("user.companyUuid <=", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidLike(String value) {
            addCriterion("user.companyUuid like", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidNotLike(String value) {
            addCriterion("user.companyUuid not like", value, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidIn(List<String> values) {
            addCriterion("user.companyUuid in", values, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidNotIn(List<String> values) {
            addCriterion("user.companyUuid not in", values, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidBetween(String value1, String value2) {
            addCriterion("user.companyUuid between", value1, value2, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andCompanyUuidNotBetween(String value1, String value2) {
            addCriterion("user.companyUuid not between", value1, value2, "companyUuid");
            return (Criteria) this;
        }

        public Criteria andHeadImageIsNull() {
            addCriterion("user.headImage is null");
            return (Criteria) this;
        }

        public Criteria andHeadImageIsNotNull() {
            addCriterion("user.headImage is not null");
            return (Criteria) this;
        }

        public Criteria andHeadImageEqualTo(String value) {
            addCriterion("user.headImage =", value, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageNotEqualTo(String value) {
            addCriterion("user.headImage <>", value, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageGreaterThan(String value) {
            addCriterion("user.headImage >", value, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageGreaterThanOrEqualTo(String value) {
            addCriterion("user.headImage >=", value, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageLessThan(String value) {
            addCriterion("user.headImage <", value, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageLessThanOrEqualTo(String value) {
            addCriterion("user.headImage <=", value, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageLike(String value) {
            addCriterion("user.headImage like", value, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageNotLike(String value) {
            addCriterion("user.headImage not like", value, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageIn(List<String> values) {
            addCriterion("user.headImage in", values, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageNotIn(List<String> values) {
            addCriterion("user.headImage not in", values, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageBetween(String value1, String value2) {
            addCriterion("user.headImage between", value1, value2, "headImage");
            return (Criteria) this;
        }

        public Criteria andHeadImageNotBetween(String value1, String value2) {
            addCriterion("user.headImage not between", value1, value2, "headImage");
            return (Criteria) this;
        }

        public Criteria andVipBalanceIsNull() {
            addCriterion("user.vipBalance is null");
            return (Criteria) this;
        }

        public Criteria andVipBalanceIsNotNull() {
            addCriterion("user.vipBalance is not null");
            return (Criteria) this;
        }

        public Criteria andVipBalanceEqualTo(Double value) {
            addCriterion("user.vipBalance =", value, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andVipBalanceNotEqualTo(Double value) {
            addCriterion("user.vipBalance <>", value, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andVipBalanceGreaterThan(Double value) {
            addCriterion("user.vipBalance >", value, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andVipBalanceGreaterThanOrEqualTo(Double value) {
            addCriterion("user.vipBalance >=", value, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andVipBalanceLessThan(Double value) {
            addCriterion("user.vipBalance <", value, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andVipBalanceLessThanOrEqualTo(Double value) {
            addCriterion("user.vipBalance <=", value, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andVipBalanceIn(List<Double> values) {
            addCriterion("user.vipBalance in", values, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andVipBalanceNotIn(List<Double> values) {
            addCriterion("user.vipBalance not in", values, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andVipBalanceBetween(Double value1, Double value2) {
            addCriterion("user.vipBalance between", value1, value2, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andVipBalanceNotBetween(Double value1, Double value2) {
            addCriterion("user.vipBalance not between", value1, value2, "vipBalance");
            return (Criteria) this;
        }

        public Criteria andPositionIsNull() {
            addCriterion("user.position is null");
            return (Criteria) this;
        }

        public Criteria andPositionIsNotNull() {
            addCriterion("user.position is not null");
            return (Criteria) this;
        }

        public Criteria andPositionEqualTo(String value) {
            addCriterion("user.position =", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotEqualTo(String value) {
            addCriterion("user.position <>", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionGreaterThan(String value) {
            addCriterion("user.position >", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionGreaterThanOrEqualTo(String value) {
            addCriterion("user.position >=", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLessThan(String value) {
            addCriterion("user.position <", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLessThanOrEqualTo(String value) {
            addCriterion("user.position <=", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionLike(String value) {
            addCriterion("user.position like", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotLike(String value) {
            addCriterion("user.position not like", value, "position");
            return (Criteria) this;
        }

        public Criteria andPositionIn(List<String> values) {
            addCriterion("user.position in", values, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotIn(List<String> values) {
            addCriterion("user.position not in", values, "position");
            return (Criteria) this;
        }

        public Criteria andPositionBetween(String value1, String value2) {
            addCriterion("user.position between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria andPositionNotBetween(String value1, String value2) {
            addCriterion("user.position not between", value1, value2, "position");
            return (Criteria) this;
        }

        public Criteria andRegisterDateIsNull() {
            addCriterion("user.registerDate is null");
            return (Criteria) this;
        }

        public Criteria andRegisterDateIsNotNull() {
            addCriterion("user.registerDate is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterDateEqualTo(Date value) {
            addCriterion("user.registerDate =", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateNotEqualTo(Date value) {
            addCriterion("user.registerDate <>", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateGreaterThan(Date value) {
            addCriterion("user.registerDate >", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateGreaterThanOrEqualTo(Date value) {
            addCriterion("user.registerDate >=", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateLessThan(Date value) {
            addCriterion("user.registerDate <", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateLessThanOrEqualTo(Date value) {
            addCriterion("user.registerDate <=", value, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateIn(List<Date> values) {
            addCriterion("user.registerDate in", values, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateNotIn(List<Date> values) {
            addCriterion("user.registerDate not in", values, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateBetween(Date value1, Date value2) {
            addCriterion("user.registerDate between", value1, value2, "registerDate");
            return (Criteria) this;
        }

        public Criteria andRegisterDateNotBetween(Date value1, Date value2) {
            addCriterion("user.registerDate not between", value1, value2, "registerDate");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("user.phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("user.phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("user.phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("user.phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("user.phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("user.phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("user.phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("user.phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("user.phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("user.phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("user.phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("user.phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("user.phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("user.phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andUuidIsNull() {
            addCriterion("user.uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("user.uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("user.uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("user.uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("user.uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("user.uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("user.uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("user.uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("user.uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("user.uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("user.uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("user.uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("user.uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("user.uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andVipIsNull() {
            addCriterion("user.vip is null");
            return (Criteria) this;
        }

        public Criteria andVipIsNotNull() {
            addCriterion("user.vip is not null");
            return (Criteria) this;
        }

        public Criteria andVipEqualTo(String value) {
            addCriterion("user.vip =", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipNotEqualTo(String value) {
            addCriterion("user.vip <>", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipGreaterThan(String value) {
            addCriterion("user.vip >", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipGreaterThanOrEqualTo(String value) {
            addCriterion("user.vip >=", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipLessThan(String value) {
            addCriterion("user.vip <", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipLessThanOrEqualTo(String value) {
            addCriterion("user.vip <=", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipLike(String value) {
            addCriterion("user.vip like", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipNotLike(String value) {
            addCriterion("user.vip not like", value, "vip");
            return (Criteria) this;
        }

        public Criteria andVipIn(List<String> values) {
            addCriterion("user.vip in", values, "vip");
            return (Criteria) this;
        }

        public Criteria andVipNotIn(List<String> values) {
            addCriterion("user.vip not in", values, "vip");
            return (Criteria) this;
        }

        public Criteria andVipBetween(String value1, String value2) {
            addCriterion("user.vip between", value1, value2, "vip");
            return (Criteria) this;
        }

        public Criteria andVipNotBetween(String value1, String value2) {
            addCriterion("user.vip not between", value1, value2, "vip");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumIsNull() {
            addCriterion("user.advisoryNum is null");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumIsNotNull() {
            addCriterion("user.advisoryNum is not null");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumEqualTo(Integer value) {
            addCriterion("user.advisoryNum =", value, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumNotEqualTo(Integer value) {
            addCriterion("user.advisoryNum <>", value, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumGreaterThan(Integer value) {
            addCriterion("user.advisoryNum >", value, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("user.advisoryNum >=", value, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumLessThan(Integer value) {
            addCriterion("user.advisoryNum <", value, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumLessThanOrEqualTo(Integer value) {
            addCriterion("user.advisoryNum <=", value, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumIn(List<Integer> values) {
            addCriterion("user.advisoryNum in", values, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumNotIn(List<Integer> values) {
            addCriterion("user.advisoryNum not in", values, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumBetween(Integer value1, Integer value2) {
            addCriterion("user.advisoryNum between", value1, value2, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andAdvisoryNumNotBetween(Integer value1, Integer value2) {
            addCriterion("user.advisoryNum not between", value1, value2, "advisoryNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumIsNull() {
            addCriterion("user.videoNum is null");
            return (Criteria) this;
        }

        public Criteria andVideoNumIsNotNull() {
            addCriterion("user.videoNum is not null");
            return (Criteria) this;
        }

        public Criteria andVideoNumEqualTo(Integer value) {
            addCriterion("user.videoNum =", value, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumNotEqualTo(Integer value) {
            addCriterion("user.videoNum <>", value, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumGreaterThan(Integer value) {
            addCriterion("user.videoNum >", value, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("user.videoNum >=", value, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumLessThan(Integer value) {
            addCriterion("user.videoNum <", value, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumLessThanOrEqualTo(Integer value) {
            addCriterion("user.videoNum <=", value, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumIn(List<Integer> values) {
            addCriterion("user.videoNum in", values, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumNotIn(List<Integer> values) {
            addCriterion("user.videoNum not in", values, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumBetween(Integer value1, Integer value2) {
            addCriterion("user.videoNum between", value1, value2, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoNumNotBetween(Integer value1, Integer value2) {
            addCriterion("user.videoNum not between", value1, value2, "videoNum");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeIsNull() {
            addCriterion("user.videoVipInvalidTime is null");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeIsNotNull() {
            addCriterion("user.videoVipInvalidTime is not null");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeEqualTo(Date value) {
            addCriterion("user.videoVipInvalidTime =", value, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeNotEqualTo(Date value) {
            addCriterion("user.videoVipInvalidTime <>", value, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeGreaterThan(Date value) {
            addCriterion("user.videoVipInvalidTime >", value, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("user.videoVipInvalidTime >=", value, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeLessThan(Date value) {
            addCriterion("user.videoVipInvalidTime <", value, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeLessThanOrEqualTo(Date value) {
            addCriterion("user.videoVipInvalidTime <=", value, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeIn(List<Date> values) {
            addCriterion("user.videoVipInvalidTime in", values, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeNotIn(List<Date> values) {
            addCriterion("user.videoVipInvalidTime not in", values, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeBetween(Date value1, Date value2) {
            addCriterion("user.videoVipInvalidTime between", value1, value2, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andVideoVipInvalidTimeNotBetween(Date value1, Date value2) {
            addCriterion("user.videoVipInvalidTime not between", value1, value2, "videoVipInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeIsNull() {
            addCriterion("user.advisoryInvalidTime is null");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeIsNotNull() {
            addCriterion("user.advisoryInvalidTime is not null");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeEqualTo(Date value) {
            addCriterion("user.advisoryInvalidTime =", value, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeNotEqualTo(Date value) {
            addCriterion("user.advisoryInvalidTime <>", value, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeGreaterThan(Date value) {
            addCriterion("user.advisoryInvalidTime >", value, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("user.advisoryInvalidTime >=", value, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeLessThan(Date value) {
            addCriterion("user.advisoryInvalidTime <", value, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeLessThanOrEqualTo(Date value) {
            addCriterion("user.advisoryInvalidTime <=", value, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeIn(List<Date> values) {
            addCriterion("user.advisoryInvalidTime in", values, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeNotIn(List<Date> values) {
            addCriterion("user.advisoryInvalidTime not in", values, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeBetween(Date value1, Date value2) {
            addCriterion("user.advisoryInvalidTime between", value1, value2, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andAdvisoryInvalidTimeNotBetween(Date value1, Date value2) {
            addCriterion("user.advisoryInvalidTime not between", value1, value2, "advisoryInvalidTime");
            return (Criteria) this;
        }

        public Criteria andTradeIsNull() {
            addCriterion("user.trade is null");
            return (Criteria) this;
        }

        public Criteria andTradeIsNotNull() {
            addCriterion("user.trade is not null");
            return (Criteria) this;
        }

        public Criteria andTradeEqualTo(String value) {
            addCriterion("user.trade =", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotEqualTo(String value) {
            addCriterion("user.trade <>", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeGreaterThan(String value) {
            addCriterion("user.trade >", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeGreaterThanOrEqualTo(String value) {
            addCriterion("user.trade >=", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeLessThan(String value) {
            addCriterion("user.trade <", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeLessThanOrEqualTo(String value) {
            addCriterion("user.trade <=", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeLike(String value) {
            addCriterion("user.trade like", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotLike(String value) {
            addCriterion("user.trade not like", value, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeIn(List<String> values) {
            addCriterion("user.trade in", values, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotIn(List<String> values) {
            addCriterion("user.trade not in", values, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeBetween(String value1, String value2) {
            addCriterion("user.trade between", value1, value2, "trade");
            return (Criteria) this;
        }

        public Criteria andTradeNotBetween(String value1, String value2) {
            addCriterion("user.trade not between", value1, value2, "trade");
            return (Criteria) this;
        }

        public Criteria andUserSrcIsNull() {
            addCriterion("user.userSrc is null");
            return (Criteria) this;
        }

        public Criteria andUserSrcIsNotNull() {
            addCriterion("user.userSrc is not null");
            return (Criteria) this;
        }

        public Criteria andUserSrcEqualTo(Long value) {
            addCriterion("user.userSrc =", value, "userSrc");
            return (Criteria) this;
        }

        public Criteria andUserSrcNotEqualTo(Long value) {
            addCriterion("user.userSrc <>", value, "userSrc");
            return (Criteria) this;
        }

        public Criteria andUserSrcGreaterThan(Long value) {
            addCriterion("user.userSrc >", value, "userSrc");
            return (Criteria) this;
        }

        public Criteria andUserSrcGreaterThanOrEqualTo(Long value) {
            addCriterion("user.userSrc >=", value, "userSrc");
            return (Criteria) this;
        }

        public Criteria andUserSrcLessThan(Long value) {
            addCriterion("user.userSrc <", value, "userSrc");
            return (Criteria) this;
        }

        public Criteria andUserSrcLessThanOrEqualTo(Long value) {
            addCriterion("user.userSrc <=", value, "userSrc");
            return (Criteria) this;
        }

        public Criteria andUserSrcIn(List<Long> values) {
            addCriterion("user.userSrc in", values, "userSrc");
            return (Criteria) this;
        }

        public Criteria andUserSrcNotIn(List<Long> values) {
            addCriterion("user.userSrc not in", values, "userSrc");
            return (Criteria) this;
        }

        public Criteria andUserSrcBetween(Long value1, Long value2) {
            addCriterion("user.userSrc between", value1, value2, "userSrc");
            return (Criteria) this;
        }

        public Criteria andUserSrcNotBetween(Long value1, Long value2) {
            addCriterion("user.userSrc not between", value1, value2, "userSrc");
            return (Criteria) this;
        }

        public Criteria andInviteByIsNull() {
            addCriterion("user.inviteBy is null");
            return (Criteria) this;
        }

        public Criteria andInviteByIsNotNull() {
            addCriterion("user.inviteBy is not null");
            return (Criteria) this;
        }

        public Criteria andInviteByEqualTo(String value) {
            addCriterion("user.inviteBy =", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByNotEqualTo(String value) {
            addCriterion("user.inviteBy <>", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByGreaterThan(String value) {
            addCriterion("user.inviteBy >", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByGreaterThanOrEqualTo(String value) {
            addCriterion("user.inviteBy >=", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByLessThan(String value) {
            addCriterion("user.inviteBy <", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByLessThanOrEqualTo(String value) {
            addCriterion("user.inviteBy <=", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByLike(String value) {
            addCriterion("user.inviteBy like", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByNotLike(String value) {
            addCriterion("user.inviteBy not like", value, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByIn(List<String> values) {
            addCriterion("user.inviteBy in", values, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByNotIn(List<String> values) {
            addCriterion("user.inviteBy not in", values, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByBetween(String value1, String value2) {
            addCriterion("user.inviteBy between", value1, value2, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andInviteByNotBetween(String value1, String value2) {
            addCriterion("user.inviteBy not between", value1, value2, "inviteBy");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceIsNull() {
            addCriterion("user.advisorCardBlance is null");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceIsNotNull() {
            addCriterion("user.advisorCardBlance is not null");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceEqualTo(Double value) {
            addCriterion("user.advisorCardBlance =", value, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceNotEqualTo(Double value) {
            addCriterion("user.advisorCardBlance <>", value, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceGreaterThan(Double value) {
            addCriterion("user.advisorCardBlance >", value, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceGreaterThanOrEqualTo(Double value) {
            addCriterion("user.advisorCardBlance >=", value, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceLessThan(Double value) {
            addCriterion("user.advisorCardBlance <", value, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceLessThanOrEqualTo(Double value) {
            addCriterion("user.advisorCardBlance <=", value, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceIn(List<Double> values) {
            addCriterion("user.advisorCardBlance in", values, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceNotIn(List<Double> values) {
            addCriterion("user.advisorCardBlance not in", values, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceBetween(Double value1, Double value2) {
            addCriterion("user.advisorCardBlance between", value1, value2, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andAdvisorCardBlanceNotBetween(Double value1, Double value2) {
            addCriterion("user.advisorCardBlance not between", value1, value2, "advisorCardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceIsNull() {
            addCriterion("user.QACardBlance is null");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceIsNotNull() {
            addCriterion("user.QACardBlance is not null");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceEqualTo(Double value) {
            addCriterion("user.QACardBlance =", value, "QACardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceNotEqualTo(Double value) {
            addCriterion("user.QACardBlance <>", value, "QACardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceGreaterThan(Double value) {
            addCriterion("user.QACardBlance >", value, "QACardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceGreaterThanOrEqualTo(Double value) {
            addCriterion("user.QACardBlance >=", value, "QACardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceLessThan(Double value) {
            addCriterion("user.QACardBlance <", value, "QACardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceLessThanOrEqualTo(Double value) {
            addCriterion("user.QACardBlance <=", value, "QACardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceIn(List<Double> values) {
            addCriterion("user.QACardBlance in", values, "QACardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceNotIn(List<Double> values) {
            addCriterion("user.QACardBlance not in", values, "QACardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceBetween(Double value1, Double value2) {
            addCriterion("user.QACardBlance between", value1, value2, "QACardBlance");
            return (Criteria) this;
        }

        public Criteria andQACardBlanceNotBetween(Double value1, Double value2) {
            addCriterion("user.QACardBlance not between", value1, value2, "QACardBlance");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}